<?php
include("session.php");
include("config.php");
$loc_entity=RLang("customer");
$row = set_retired(LEVEL_RETIRE_CUSTOMER, "retire_customer.php", $loc_entity, "customer", $db, "maintime.php");
if (!$row) 
   exit();
else{
    $_SESSION['msgtype'] = "msg";
    $_SESSION['msg'] = sprintf(RLang("msg_retire_success"), $loc_entity) ;
    header("Location: maintime.php");
}
